//
//  TSPublishCellViewModel.m
//  TaShuo
//
//  Created by N-X on 2018/3/22.
//  Copyright © 2018年 MRNAN. All rights reserved.
//

#import "TSPublishCellViewModel.h"
#import "TSPublishCell.h"
#import "TSPublishPathModel.h"

@implementation TSPublishCellViewModel
- (void)bindView:(UIView *)view
{
    TSPublishCell * cell = (TSPublishCell *)view;
    cell.title = _model.title;
    cell.linePicUrl = [_model.line_pic componentsSeparatedByString:@"?"][0];
    cell.nameStr = _model.user.nickname;
    cell.headPicUrl = _model.user.headpic;
}

@end
